//
//  HomeItemCell.m
//  Lightthings
//
//  Created by Hero on 2024/11/16.
//

#import "HomeItemCell.h"
#import "HomeItemModel.h"
@implementation HomeItemCell

- (void)setModel:(HomeItemModel *)model {
    [super setModel:model];
    self.titleLab.text = model.title;
    self.icon.image = U_imageNamed(model.img);
    self.contentView.backgroundColor = KLColor(model.colorhex);
    self.valueLab.attributedText = model.value;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
